import React from "react";
import { ComponentStory, ComponentMeta } from "@storybook/react-native";
import { MyFloatBox } from "./FloatBox";
import { View } from "react-native";

const MyFloatBoxMeta: ComponentMeta<typeof MyFloatBox> = {
  title: "MyFloatBox",
  component: MyFloatBox,
  args: {
    text: "DRAG ME",
  },
  // decorators: [
  //   (Story) => (
  //     <View style={{ padding: 16,width:320,height:480 }}>
  //       <Story />
  //     </View>
  //   ),
  // ],
};

export default MyFloatBoxMeta;

type MyFloatBoxStory = ComponentStory<typeof MyFloatBox>;

export const Basic: MyFloatBoxStory = (args) => <MyFloatBox {...args} />;
